// 这是一个列子文件
import {defineStore} from "pinia";

const PiniaTest = defineStore('PiniaTest', {
    state() {
        return {
            count: 0,
        }
    },
    getters: {
        getCount(state) {
            return this.count
        }
    },
    actions: {
        increment() {
            this.count++
            return this.count
        }
    },
})

const a = PiniaTest()


export default PiniaTest
